package com.eighth.factory.abstract0;

/**
 * Author Name: Justice
 * Project Name: Stage11
 * File Name: TestDemo
 * Package Name: com.eighth.factory.abstract0
 * Date: 2020-03-27 14:06
 * Copyright (c) 2020,All Rights Reserved.
 * 抽象工厂模式
 */


public class TestDemo {
    public static void main(String[] args) {
        AbstractFactory miFactory = new XiaoMiFactory();
        miFactory.makePC();
        miFactory.makePhone();
    }
}
